package com.ruoyi.algorithm.service;

import com.ruoyi.algorithm.entity.OperatorVersion;

import java.util.List;

/**
 * @author ：yanfa-03
 * @date ：Created in 2021/7/13/10:14
 * @description ：算子版本服务
 * @version: 1.0
 */
public interface OperatorVersionService {
    List<OperatorVersion> findByOperatorId(Long operatorId);

    void addOperatorVersion(OperatorVersion operatorVersion);

    Boolean editOperatorVersion(OperatorVersion operatorVersion);

    Boolean deleteById(Long operatorVersionId);

    OperatorVersion findByid(Long id);

    boolean isVersionExist(Long operatorId, String version);

    OperatorVersion findbyVersion(Long operatorId, String version);

    List<OperatorVersion> findAlreadyDel();

    void recoverByid(Long id);
}
